import http from "../../common/http.js"


export const rankingList = (data) => {
	return http({
		url: 'api/Ranking/rankingList'
	}, data)
}

export const topicList = (data) => {
	return http({
		url: 'api/Topic/topicList'
	}, data)
}
export const topicGoodsList = (data) => {
	return http({
		url: 'api/Topic/topicGoodsList'
	}, data)
}
export const indexGoodsList = (data) => {
	return http({
		url: 'api/Topic/indexGoodsList'
	}, data)
}
export const specialList = (data) => {
	return http({
		url: 'api/Topic/specialList'
	}, data)
}
export const seckillList = (data) => {
	return http({
		url: 'api/Topic/seckillList'
	}, data)
}

export const newUserTask = (data) => {
	return http({
		url: 'api/task/newUserTask'
	}, data)
}

export const newUserGetRedPackages = (data) => {
	return http({
		url: 'api/task/newUserGetRedPackages'
	}, data)
}

export const receiveReward = (data) => {
	return http({
		url: 'api/Ranking/receiveReward'
	}, data)
}
/*
更新新人专区浮窗状态
*/
export const setShowNewStatus = (data) => {
	return http({
		url: 'api/user/setShowNewStatus'
	}, data)
}
